package com.top.mall.entity

import com.module.lemlin.http.HttpResponseData
import java.io.Serializable


data class UserInfoResponse(
    val data: UserInfoData
) : HttpResponseData()

data class UserInfoData(
    val userinfo: UserInfo
)

data class UserIndexResponse(
    val data: UserIndexData
) : HttpResponseData()

data class UserIndexData(
    val userInfo: UserInfo,
    val goods_collect_count: Int,
    val cash_coupon_sum: Int
)

data class UserInfo(
    val avatar: String,
    val createtime: Int,
    val email: String,
    val expires_in: Int,
    val expiretime: Int,
    val id: Int,
    val is_new: Int,
    val mobile: String,
    val nickname: String,
    val token: String,
    val user_id: Int,
    val area: String,
    val birthday: String,
    val city: Int,
    val district: Int,
    val gender: Int,
    val province: Int,
    val score: Int,
    val surname: String,
    val user_name: String,
    var goods_collect_count: Int,
    var cash_coupon_sum: Int
):Serializable



data class Profile(
    var nickname: String? = null,
    var surname: String? = null,
    var name: String? = null,
    var id_card: String? = null,
    var birthday: String? = null,
    var email: String? = null,
    var gender: Int? = null,
    var province: Int? = null,
    var city: Int? = null,
    var district: Int? = null
)